<!-- SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc. -->
<!-- SPDX-License-Identifier: Mulan PSL v2 -->
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-store,no-cache">
    <meta http-equiv="expires" content="0">
    <meta name="renderer" content="webkit">

    <link href="static/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="static/fontawesome/css/font-awesome.css" rel="stylesheet" />
    <link href="static/iconfont/iconfont.css" rel="stylesheet" />
    <!--<script type="text/javascript" src="static/bootstrap/js/bootstrap.js"></script>-->
    <!-- <script type="text/javascript" src="static/3parts/babel.min.js"></script> -->
    <!-- <script type="text/javascript" src="static/3parts/stylus.min.js"></script> -->
    <script type="text/javascript" src="3parts/vueAll.js"></script>
    <script type="text/javascript" src="3parts/chartsAll.js"></script>
    <script type="text/javascript" src="3parts/babelRuntime.js"></script>
    <!-- Google Tag Manager -->
    <!-- <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-NDCL2S6');</script> -->
    <!-- End Google Tag Manager -->
</head>
<body class="bgc-default app-body" x-ms-format-detection="none">
<script>
    var SHARED = {
        // 版本信息
        version: "{{version}}",

        // scloud 版本信息
        scloudVersion: "{{scloud_version}}",

        // 语言："zh_CN", "en"
        lang: "zh_CN",

        // 平台标识， 值为： bbc， scloud
        platform: "{{platform}}",

        CSRF: "{{csrf_token}}",

        user: {
            id: "{{user_id}}",
            name: "{{user_name}}",
            role: "{{user_role}}",
            description: "{{user_description}}",
            companyID: "{{company_id}}"
        },

        publicKey: "{{public_key}}",

        env: {
            NODE_ENV: "<%= htmlWebpackPlugin.options.data.NODE_ENV %>",
        },

        theme: 'brand' // security cloud
    };

    function createLink(href) {
        var link = document.createElement('link');
        link.setAttribute('type','text/css');
        link.setAttribute('rel','stylesheet');
        link.setAttribute('href', href);
        return link;
    }

    function createScript(src) {
        var script = document.createElement('script');
        script.setAttribute('type','text/javascript');
        script.setAttribute('src', src);
        return script;
    }

    if (SHARED.env.NODE_ENV === 'production') {

        // 加载组件库的样式
        document.head.appendChild(createLink('theme/sf-vue-components/' + SHARED.theme + '.css'));

        // 加载业务样式
        document.head.appendChild(createLink('theme/' + SHARED.theme + '.css'));
        document.head.appendChild(createScript('theme/' + SHARED.theme + '.js'));
    }
</script>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
